﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TryHelp
{
    public class UserInfo
    {
        public UserInfo(string v1, int v2)
        {
            MachineCode = v1;
            ClickCount = v2;
        }

        public string MachineCode { get; set; }
        public int ClickCount
        {
            set
            {
                _ClickCount = value*100;

            }
            get
            {
                return _ClickCount/100;
            }
        }

        public int _ClickCount { set; get; }
        public string code
        {
            get
            {
                return RO.EncryptWithMD5(string.Format("明天会更好{0}", MachineCode));
            }
        }
    }
}
